[INFO] cloning repository https://github.com/AluVM/sonic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AluVM/sonic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAluVM%2Fsonic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAluVM%2Fsonic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2d311c0efaed83d64b46ef40198fcd8234a2306f
[INFO] fixing AluVM/sonic against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAluVM%2Fsonic" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/AluVM/sonic
[INFO] removed 1 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/AluVM/sonic
[INFO] tweaked toml for git repo https://github.com/AluVM/sonic written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AluVM/sonic on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AluVM/sonic already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7cbeec7e6852b5d3e7bf2fd7bffef44136235c451065d997c3a5c56a42e41588
[INFO] running `Command { std: "docker" "start" "7cbeec7e6852b5d3e7bf2fd7bffef44136235c451065d997c3a5c56a42e41588", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7cbeec7e6852b5d3e7bf2fd7bffef44136235c451065d997c3a5c56a42e41588" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7cbeec7e6852b5d3e7bf2fd7bffef44136235c451065d997c3a5c56a42e41588", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7cbeec7e6852b5d3e7bf2fd7bffef44136235c451065d997c3a5c56a42e41588" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating api/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating callreq/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating persistence/fs/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating cli/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking unicode-ident v1.0.18
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]     Checking toml_write v0.1.1
[INFO] [stderr]     Checking winnow v0.7.10
[INFO] [stderr]     Checking mnemonic v1.1.1
[INFO] [stderr]    Compiling amplify_num v0.5.3
[INFO] [stderr]    Compiling ascii v1.1.0
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking borrow-or-share v0.2.2
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking clap_builder v4.5.39
[INFO] [stderr]     Checking quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking amplify_syn v2.0.1
[INFO] [stderr]    Compiling amplify_derive v4.0.1
[INFO] [stderr]    Compiling strict_encoding_derive v2.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling ref-cast-impl v1.0.24
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking fluent-uri v0.3.2
[INFO] [stderr]    Compiling amplify v4.9.0
[INFO] [stderr]    Compiling commit_encoding_derive v0.12.0
[INFO] [stderr]     Checking clap v4.5.39
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking serde_str_helpers v0.1.2
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking toml_datetime v0.6.9
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking stringly_conversions v0.1.1
[INFO] [stderr]     Checking toml_edit v0.22.26
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking petgraph v0.8.1
[INFO] [stderr]     Checking strict_encoding v2.9.1
[INFO] [stderr]     Checking baid64 v0.4.2
[INFO] [stderr]     Checking binfile v0.2.0
[INFO] [stderr]     Checking toml v0.8.22
[INFO] [stderr]     Checking vesper-lang v0.2.1
[INFO] [stderr]     Checking aora v0.6.4
[INFO] [stderr]     Checking strict_types v2.9.0
[INFO] [stderr]     Checking commit_verify v0.12.0
[INFO] [stderr]     Checking aluvm v0.12.0
[INFO] [stderr]     Checking zk-aluvm v0.12.0
[INFO] [stderr]     Checking ultrasonic v0.12.0
[INFO] [stderr]     Checking sonic-callreq v0.12.0 (/opt/rustwide/workdir/callreq)
[INFO] [stderr]    Migrating callreq/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking sonic-api v0.12.0 (/opt/rustwide/workdir/api)
[INFO] [stderr]    Migrating api/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking hypersonic v0.12.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator<Item = Opid>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/ledger.rs:225:71
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn ancestors(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/ledger.rs:225:22
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn ancestors(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                      ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/ledger.rs:225:36
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn ancestors(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 225 -     pub fn ancestors(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout] 225 +     pub fn ancestors<T: IntoIterator<Item = Opid>>(&self, opids: T) -> impl DoubleEndedIterator<Item = Opid> + use<S, T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator<Item = Opid>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/ledger.rs:254:73
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/ledger.rs:254:24
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                        ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/ledger.rs:254:38
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 254 -     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout] 254 +     pub fn descendants<T: IntoIterator<Item = Opid>>(&self, opids: T) -> impl DoubleEndedIterator<Item = Opid> + use<S, T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking sonic-persist-fs v0.12.0 (/opt/rustwide/workdir/persistence/fs)
[INFO] [stderr]    Migrating persistence/fs/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking sonix v0.12.0 (/opt/rustwide/workdir/cli)
[INFO] [stderr]    Migrating cli/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/dao/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator<Item = Opid>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/ledger.rs:225:71
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn ancestors(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/ledger.rs:225:22
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn ancestors(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                      ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/ledger.rs:225:36
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn ancestors(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 225 -     pub fn ancestors(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout] 225 +     pub fn ancestors<T: IntoIterator<Item = Opid>>(&self, opids: T) -> impl DoubleEndedIterator<Item = Opid> + use<S, T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator<Item = Opid>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/ledger.rs:254:73
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/ledger.rs:254:24
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                        ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/ledger.rs:254:38
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 254 -     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout] 254 +     pub fn descendants<T: IntoIterator<Item = Opid>>(&self, opids: T) -> impl DoubleEndedIterator<Item = Opid> + use<S, T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/reorgs.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating cli/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/dao.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.15s
[INFO] [stderr] crater-edition-check: hypersonic v0.12.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: sonic-api v0.12.0 (/opt/rustwide/workdir/api) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: sonic-callreq v0.12.0 (/opt/rustwide/workdir/callreq) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: sonic-persist-fs v0.12.0 (/opt/rustwide/workdir/persistence/fs) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: sonix v0.12.0 (/opt/rustwide/workdir/cli) updating edition from 2021 to 2024
[INFO] [stderr]     Checking sonic-callreq v0.12.0 (/opt/rustwide/workdir/callreq)
[INFO] [stderr]     Checking sonic-api v0.12.0 (/opt/rustwide/workdir/api)
[INFO] [stderr]     Checking hypersonic v0.12.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/ledger.rs:477:13
[INFO] [stdout]     |
[INFO] [stdout] 463 |           for opid in self.descendants(opids).rev() {
[INFO] [stdout]     |                       -----------------------------
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       immutable borrow occurs here
[INFO] [stdout]     |                       a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 477 | /             self.0.update_state(|state, articles| {
[INFO] [stdout] 478 | |                 state.rollback(transition, articles.semantics());
[INFO] [stdout] 479 | |             })?;
[INFO] [stdout]     | |______________^ mutable borrow occurs here
[INFO] [stdout] 480 |               self.0.mark_invalid(opid);
[INFO] [stdout] 481 |           }
[INFO] [stdout]     |           - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `Rev<impl DoubleEndedIterator + Iterator<Item = Opid>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/ledger.rs:463:21
[INFO] [stdout]     |
[INFO] [stdout] 463 |         for opid in self.descendants(opids).rev() {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/ledger.rs:254:38
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 254 -     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout] 254 +     pub fn descendants<T: IntoIterator<Item = Opid>>(&self, opids: T) -> impl DoubleEndedIterator<Item = Opid> + use<S, T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/ledger.rs:480:13
[INFO] [stdout]     |
[INFO] [stdout] 463 |         for opid in self.descendants(opids).rev() {
[INFO] [stdout]     |                     -----------------------------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     immutable borrow occurs here
[INFO] [stdout]     |                     immutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 480 |             self.0.mark_invalid(opid);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/ledger.rs:463:21
[INFO] [stdout]     |
[INFO] [stdout] 463 |         for opid in self.descendants(opids).rev() {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/ledger.rs:254:38
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 254 -     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout] 254 +     pub fn descendants<T: IntoIterator<Item = Opid>>(&self, opids: T) -> impl DoubleEndedIterator<Item = Opid> + use<S, T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/ledger.rs:495:17
[INFO] [stdout]     |
[INFO] [stdout] 487 |         for opid in self.descendants(opids) {
[INFO] [stdout]     |                     -----------------------
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     immutable borrow occurs here
[INFO] [stdout]     |                     a temporary with access to the immutable borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 495 |                 self.apply_verify(op, true)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 498 |         }
[INFO] [stdout]     |         - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl DoubleEndedIterator + Iterator<Item = Opid>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/ledger.rs:487:21
[INFO] [stdout]     |
[INFO] [stdout] 487 |         for opid in self.descendants(opids) {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/ledger.rs:254:38
[INFO] [stdout]     |
[INFO] [stdout] 254 |     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 254 -     pub fn descendants(&self, opids: impl IntoIterator<Item = Opid>) -> impl DoubleEndedIterator<Item = Opid> {
[INFO] [stdout] 254 +     pub fn descendants<T: IntoIterator<Item = Opid>>(&self, opids: T) -> impl DoubleEndedIterator<Item = Opid> + use<S, T> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hypersonic` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "7cbeec7e6852b5d3e7bf2fd7bffef44136235c451065d997c3a5c56a42e41588", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cbeec7e6852b5d3e7bf2fd7bffef44136235c451065d997c3a5c56a42e41588", kill_on_drop: false }`
[INFO] [stdout] 7cbeec7e6852b5d3e7bf2fd7bffef44136235c451065d997c3a5c56a42e41588
